﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Security.Principal;

namespace XCommunity.Web
{
  public abstract class Account : IIdentity
  {

    public abstract string Name
    {
      get;
    }

    public abstract bool IsAuthenticated
    {
      get;
    }




    internal abstract string Token
    {
      get;
    }



    #region IIdentity 成员

    string IIdentity.AuthenticationType
    {
      get { return "XCommunity.AccountService"; }
    }

    #endregion
  }
}
